using System;
using System.Collections.Generic;
using System.Text;

namespace DDW
{
	public class PredefinedTypeNode : ExpressionNode, IType, IMemberAccessible
	{
		public PredefinedTypeNode(string type)
		{
			this.type = type;
		}

		private string type;
		public string Type
		{
			get { return type; }
		}

		private List<int> rankSpecifiers = new List<int>();
		public List<int> RankSpecifiers
		{
			get { return rankSpecifiers; }
			set { rankSpecifiers = value; }
		}

		public override void ToSource(StringBuilder sb)
		{
			sb.Append(type);
		}
	}
}
